<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
	<div class="form-group">
        <label for="c-traintime" class="control-label col-xs-12 col-sm-2">{:__('Traintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-traintime" class="form-control" name="row[traintime]" type="text" value="">
        </div>
    </div>
	<div class="form-group">
        <label for="c-category" class="control-label col-xs-12 col-sm-2">{:__('Category')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category" class="form-control" name="row[category]" type="text" value="">
        </div>
    </div>
	<div class="form-group">
        <label for="c-typerules" class="control-label col-xs-12 col-sm-2">{:__('Typerules')}:</label>
        <div class="col-xs-12 col-sm-8">
               <input id="c-typerules" class="form-control" name="row[typerules]" type="text" value="">             
         </div>
    </div>
	<div class="form-group">
        <label for="c-rules" class="control-label col-xs-12 col-sm-2">{:__('Rules')}:</label>
        <div class="col-xs-12 col-sm-8">
               <input id="c-rules" class="form-control" name="row[rules]" type="text" value="">             
         </div>
    </div>
	<div class="form-group">
        <label for="c-cdrules" class="control-label col-xs-12 col-sm-2">{:__('Cdrules')}:</label>
        <div class="col-xs-12 col-sm-8">
			<select id="c-cdrules" class="form-control selectpicker" name="row[cdrules]">
                <option value="" >--请选择--</option>
				<option value="奉贤中学" >奉贤中学</option>
            </select>
        </div>
    </div>
	<div class="form-group">
        <label for="c-typename" class="control-label col-xs-12 col-sm-2">{:__('Typename')}:</label>
        <div class="col-xs-12 col-sm-8">
			<select id="c-typename" class="form-control selectpicker" name="row[typename]">
                <option value="" >--请选择--</option>
				<option value="预设名册" >预设名册</option>
				<option value="非预设名册" >非预设名册</option>
            </select>
        </div>
    </div>
	<div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[content]" class="form-control" cols="30" rows="5" ></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="normal"}checked{/in} /> {$vo}</label> 
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<script>
    var nodeData = {:json_encode($nodeList); };
</script>